package com.jason.system.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author jie
 * @version 1.0
 * success come from self-discipline
 * @date 2021/3/17 10:49
 * 类:学生
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ExcelTarget("StudentEntity")
@ApiModel(value = "学生")
public class Student implements Serializable {

  @ApiModelProperty(value = "sId")
  private Integer sId;


  @Excel(name = "")
  @ApiModelProperty(value = "stuName")
  private String stuName;

  /**
   * 学号
   */
  @ApiModelProperty(value = "stuNo")
  private String stuNo;

  /**
   * 年级
   */
  @ApiModelProperty(value = "grade")
  private String grade;

  /**
   * 专业
   */
  @ApiModelProperty(value = "major")
  private String major;
  @ApiModelProperty(value = "number")
  private String number;
}
